*{
    padding: 0;
    margin: 0;
}
body{
    background-color: #f5f5f5;
    position: relative;
}
.container {
    width: 1200px;
    margin: 0 auto;
    padding-top: 10px;

    .books {
        // overflow: hidden;
        margin-bottom: 40px;
        justify-content: space-between;
        display: flex;
        .leftbar {
            width: 240px;
            height: 950px;
            // float: left;
            background: #fff;

            .select {
                position: relative;
                margin: 20px 20px 15px;
                border-bottom: 1px solid #e6e6e6;

                .selected {
                    display: block;
                    font-size: 16px;
                    font-weight: 700;
                }

                .selectlist {
                    padding-top: 10px;
                    padding-bottom: 12px;
                    position: relative;
                    box-sizing: border-box;
                    button {
                        background-color: #b388ff !important;
                        border-color: #b388ff;
                        padding: 4px 10px;
                        box-sizing: border-box;
                        border-radius: 5px;
                        margin-right: 6px;
                        // margin: 3px 8px 3px 0;
                        outline: none;
                        line-height: 1;
                        white-space: nowrap;
                        cursor: pointer;
                        background: #fff;
                        border: 1px solid #dcdfe6;
                        color: #606266;
                        -webkit-appearance: none;
                        text-align: center;
                        -webkit-box-sizing: border-box;
                        box-sizing: border-box;
                        outline: 0;
                        margin: 0;
                        -webkit-transition: .1s;
                        transition: .1s;
                        font-weight: 500;
                        font-size: 14px;

                        span {
                            display: inline-block;
                            color: #fff;
                            font-size: 12px;
                            font-weight: normal;
                        }
                    }
                }
            }

            .select {
                cursor: pointer;
                .tname {
                    display: block;
                    font-size: 16px;
                    font-weight: 700;
                }
                .selectlist1 {
                    padding-top: 10px;
                    box-sizing: border-box;
                    padding-bottom: 12px;
                    position: relative;
                    .selectTag {
                        margin: 7px 10px 7px 0;
                        display: inline-block;
                        .girl {
                            color: #b388ff;
                            text-decoration: none;
                            font-size: 12px;
                            display: inline-block;
                        }
                    }
                }
                 .selectlist2 {
                    padding-top: 10px;
                    box-sizing: border-box;
                    padding-bottom: 12px;
                    position: relative;
                    .selectTag {
                        margin: 7px 10px 7px 0;
                        display: inline-block;
                        .girl {
                            color: #b388ff;
                            text-decoration: none;
                            font-size: 12px;
                            display: inline-block;
                        }
                    }
                }
                .selectlist3 {
                    padding-top: 10px;
                    box-sizing: border-box;
                    padding-bottom: 12px;
                    position: relative;
                    .selectTag {
                        margin: 7px 10px 7px 0;
                        display: inline-block;
                        .girl {
                            color: #b388ff;
                            text-decoration: none;
                            font-size: 12px;
                            display: inline-block;
                        }
                    }
                }
                 .selectlist4 {
                    padding-top: 10px;
                    box-sizing: border-box;
                    padding-bottom: 12px;
                    position: relative;
                    .selectTag {
                        margin: 7px 10px 7px 0;
                        display: inline-block;
                        .girl {
                            color: #b388ff;
                            text-decoration: none;
                            font-size: 12px;
                            display: inline-block;
                        }
                    }
                }
                 .selectlist5 {
                    padding-top: 10px;
                    box-sizing: border-box;
                    padding-bottom: 12px;
                    position: relative;
                    .selectTag {
                        margin: 7px 10px 7px 0;
                        display: inline-block;
                        .girl {
                            color: #b388ff;
                            text-decoration: none;
                            font-size: 12px;
                            display: inline-block;
                        }
                    }
                }
                 .selectlist6 {
                    padding-top: 10px;
                    box-sizing: border-box;
                    padding-bottom: 12px;
                    position: relative;
                    .selectTag {
                        margin: 7px 10px 7px 0;
                        display: inline-block;
                        .girl {
                            color: #b388ff;
                            text-decoration: none;
                            font-size: 12px;
                            display: inline-block;
                        }
                    }
                }
                .curr {
                    // width: 46px;
                    // height: 20px;
                    border-color: #b388ff !important;
                    color: #b388ff;
                    padding: 1px 10px;
                    box-sizing: border-box;
                    border: 1px solid transparent;
                    border-radius: 5px;
                    display: inline-block;
                    background-color: #fff;
                    box-sizing: border-box;
                    p{
                        color: #b388ff;
                    }
                }
            }
            .boy{
            text-decoration: none;
            font-size: 12px;
            color: #333;
            outline: 0; 
            }
          

        }
        .rightbar{
            width: 950px;
            // float: right;
            background: #fff;
            padding-bottom: 30px;
                .tab-header{
                    display: flex;
                    position: relative;
                    padding-left: 20px;
                    box-sizing: border-box;
                    height: 49px;
                    line-height: 49px;
                    border-bottom: 1px solid #f2f2f2;
                    font-size: 0;
                    align-items: center;
                    justify-content: space-between;
                    .popRank{
                        position: relative;
                        float: left;
                        margin-top: 1px;
                        margin-right: 25px;
                        width: 77px;
                        text-align: center;
                        .firstname{
                            font-size: 14px;
                            color: #333;
                            text-align: center;
                            border-radius: 12px;
                            text-decoration: none;
                            &::after{
                                 margin-left: 6px;
                                content: '';
                                font-size: 0;
                                line-height: 0;
                                border-width: 7px 7px 0;
                                border-color: #999 transparent;
                                border-style: solid dashed dashed;
                            }
                            }
                    }
                    .tab-item{
                        display: flex;
                       p{
                        margin-right: 40px;
                        font-size: 14px;
                        text-decoration: none;
                        color: #333;
                        cursor: pointer;
                        }
                        .on{
                            margin-right: 40px;
                            font-size: 14px;
                                color: #b388ff !important;
                        }
                    }
                    .tab-num{
                        margin-right: 30px;
                        font-size: 12px;
                        line-height: 49px;
                        color: #999;
                        }
                }
                .tab-content{
                    display: flex;
                     position: relative;
                    padding-bottom: 0;
                    box-sizing: border-box;
                    margin: 20px 25px 0;
                    overflow: hidden;
                    flex-wrap: wrap;
                    .firsts{
                        display: flex;
                        width: 420px;
                        padding: 20px 30px 20px 0;
                        box-sizing: border-box;
                        position: relative;
                        .firstleft{
                            height: 150px !important;
                            img{
                                width: 110px;
                                height: 150px;
                                overflow: hidden;
                            }
                            
                        }
                        .firstright{
                            margin: 10px 0 0 20px;
                            width: 290px;
                            &::after{
                                content: '';
                                position: absolute;
                                width: 900px;
                                height: 1px;
                                background: #e6e6e6;
                                top: 190px;
                                right: 0;
                            }
                            .bookname{
                                font-size: 18px;
                                font-weight: 700;
                                line-height: 20px;
                                color: #333;
                                text-decoration: none;
                            }
                            p{
                                margin-top: 7px;
                                color: #999;
                                font-size: 12px;
                                a{
                                    color: #999;
                                    text-decoration: none;
                                    font-size: 12px;
                                }
                            }
                            .bigbookinfo{
                                height: 40px;
                                line-height: 21px;
                                overflow: hidden;
                            }
                            .red{
                                color: #ff4c2f;
                                font-style: normal;
                            }
                        }
                    }
                }
        }
    }

}
.onapp{
    display: none;
        position: absolute;
        left: -18px;
        top: 44px;
        padding-bottom: 17px;
        width: 110px;
        overflow: hidden;
        text-align: center;
        -webkit-box-shadow: 5px 8px 10px rgba(0, 0, 0, 0.1);
        box-shadow: 5px 8px 10px rgba(0, 0, 0, 0.1);
        background: #fff;
        z-index: 111;
        p{
            margin-top: 15px;
            color: #333;
            font-size: 14px;
            height: 23px;
            line-height: 23px;
            text-decoration: none;
            cursor: pointer;
        }
}
 .popRank.show .onapp {
    display: block; /* 显示下拉菜单 */
}
 .on{
    font-size: 14px;
    color: #b388ff !important;
}
/* 针对频道列表的选中状态（提高优先级） */
.selectlist.selectTag.curr {
    border: 1px solid #b388ff !important; /* 强制生效 */
    color: #b388ff;
    padding: 1px 10px;
    box-sizing: border-box;
    border-radius: 5px;
    background-color: #fff;
}

/* 确保文字颜色正确 */
.selectlist.selectTag.curr p {
    color: #b388ff;
    margin: 0; /* 移除默认边距，避免文字错位 */
}

#demo-laypage-normal-2{
    text-align: end;
    margin-right: 120px;
    margin-top: 15px;
}
.layui-laypage-em{
    background-color:#b388ff !important;
}
.searchList {
    list-style: none;
    position: absolute;
    background-color: #fff;
    top: 87px;
    z-index: 3;
    border-radius: 9px;
        width: 247px;

    li {
        .about{
            display: block;
            height: 52px;
            padding-left: 42px;
            box-sizing: border-box;
            line-height: 82px;
            position: relative;
            font-size: 14px;
            color: #666;
            position: relative;
            overflow: hidden;
            text-decoration: none;
            margin-bottom: 15px;
        }
        .noimg {
            // position: absolute;
            //     left: 15px;
            //     top: 15px;
            //     background-image: url(https://pic.motieimg.com/web-pc-my3/dist/static/img/sprite.e3a5567.png);
            //     background-position: -451px -117px;
            //     width: 17px;
            //     height: 22px;

        }
        span {
            // display: inline-block;
            // width: 75px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            vertical-align: top;
        }

    }
    .lines {
        a{
        display: flex;
        margin-bottom: 2px;
        position: relative;
        background-color: #f2f2f2;
        padding-bottom: 15px;
        box-sizing: border-box;
        text-decoration: none;
        .imgbox {
            margin: 10px 15px 0;
            width: 43px;
            height: 58px;
            box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);

            img {
                width: 43px;
                height: 58px;
            }
        }

        .details {
            width: 120px;

            .bookName {
                margin-top: 15px;
                line-height: 24px;
                color: #333;
                font-size: 14px;
                width: 122px;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
            }

            .book-authors {
                line-height: 24px;
                font-size: 14px;
                width: 122px;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
                color: #333
            }
        }
        ::after{
                content: '';
                position: absolute;
                bottom: -2px;
                width: 217px;
                height: 1px;
                border-top: 1px dashed #e6e6e6;
                margin-left: 15px;
        }
        }
       
    }
}